package com.example.birdfriends.pojo.message;

import com.example.birdfriends.pojo.user.User;

// 当前聊天的好友以及和好友的聊天记录
public class MessageAndFriend {
    private MessageVo messageVo;  // 最新消息
    private User sender;

    private int unReadMsgNumber;

    public void setUnReadMsgNumber(int unReadMsgNumber) {
        this.unReadMsgNumber = unReadMsgNumber;
    }

    public int getUnReadMsgNumber() {
        return unReadMsgNumber;
    }

    public void setMessageVo(MessageVo messageVo) {
        this.messageVo = messageVo;
    }

    public void setSender(User sender) {
        this.sender = sender;
    }

    public MessageVo getMessageVo() {
        return messageVo;
    }

    public User getSender() {
        return sender;
    }
}
